package com.liaowei.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liaowei.model.domain.UserArticleHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LindaMan
* @description 针对表【wy_user_article_history(用户浏览文章历史表)】的数据库操作Mapper
* @createDate 2023-05-01 17:19:40
* @Entity com.liaowei.user.model.domain.UserArticleHistory
*/
public interface UserArticleHistoryMapper extends BaseMapper<UserArticleHistory> {

    // 根据用户id查询浏览的文章id列表
    List<Long> selectArticleIdsByUserId(@Param("userId") long userId,
                                        @Param("pageNum") long pageNum,
                                        @Param("pageSize") long pageSize);
}




